import request from '@/utils/request'

// 查询核酸任务超时列表
export function listTasktimeout(query) {
  return request({
    url: '/taskSys/tasktimeout/list',
    method: 'get',
    params: query
  })
}

// 查询核酸任务超时详细
export function getTasktimeout(id) {
  return request({
    url: '/taskSys/tasktimeout/' + id,
    method: 'get'
  })
}

// 新增核酸任务超时
export function addTasktimeout(data) {
  return request({
    url: '/taskSys/tasktimeout',
    method: 'post',
    data: data
  })
}

// 修改核酸任务超时
export function updateTasktimeout(data) {
  return request({
    url: '/taskSys/tasktimeout',
    method: 'put',
    data: data
  })
}

// 删除核酸任务超时
export function delTasktimeout(id) {
  return request({
    url: '/taskSys/tasktimeout/' + id,
    method: 'delete'
  })
}
